import en from './en';
import zh from './zh';
import { LANGUAGE } from '../config/base';

export default value => ({
	locale: value !== null ? value : LANGUAGE[0],
	messages: { en, zh },
});
